import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:sinosheets/r.dart';

import 'logic.dart';

class BrandSayPage extends StatefulWidget {
  const BrandSayPage({super.key});

  @override
  State<BrandSayPage> createState() => _BrandSayPageState();
}

class _BrandSayPageState extends State<BrandSayPage> with AutomaticKeepAliveClientMixin {
  final BrandSayLogic logic = Get.put(BrandSayLogic());

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return GetBuilder<BrandSayLogic>(builder: (get) {
      return SafeArea(
          child: ListView(
        children: [
          Image.asset(R.assetsImg1),
          Image.asset(R.assetsImg2),
          Image.asset(R.assetsImg3),
          Image.asset(R.assetsImg4),
        ],
      ));
    });
  }

  @override
  bool get wantKeepAlive => true;

  @override
  void dispose() {
    Get.delete<BrandSayLogic>();
    super.dispose();
  }
}
